/*package com.neuedu.hisadmin.service;

import com.neuedu.hisadmin.entity.Scheduling;
import com.baomidou.mybatisplus.extension.service.IService;
*/
/**
 * <p>
 *  服务类
 * </p>
 *
 * @author jaun
 * @since 2025-07-05
 */
/*
public interface ISchedulingService extends IService<Scheduling> {

}

*/
// src/main/java/com/neuedu/hisadmin/service/ISchedulingService.java
//package com.neuedu.hisadmin.service;
//
//import com.baomidou.mybatisplus.extension.service.IService;
//import com.neuedu.hisadmin.entity.Scheduling;
//
//import java.util.List;
//
//public interface ISchedulingService extends IService<Scheduling> {
//
//    boolean saveScheduling(Scheduling scheduling);
//}
//


package com.neuedu.hisadmin.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.neuedu.hisadmin.dto.DoctorScheduleDTO;
import com.neuedu.hisadmin.dto.Result;
import com.neuedu.hisadmin.dto.RuleDTO;
import com.neuedu.hisadmin.entity.Rule;
import com.neuedu.hisadmin.entity.Scheduling;
import com.neuedu.hisadmin.mapper.SchedulingMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;


public interface ISchedulingService extends IService<Scheduling> {

    List<DoctorScheduleDTO> getDoctorSchedules(
            String deptName,
            String doctorName,
            String registLevel);
  //  List<DoctorScheduleDTO> getDoctorSchedulesAll();
    List<DoctorScheduleDTO> getSchedulingWithRelationsByCondition(String deptName, String doctorName, String registLevel); // 条件查询
   //新增排班计划
    boolean newScheduling(Scheduling scheduling);
    //新增编辑方法
    Result<Boolean> updateScheduling(Scheduling scheduling);

    //新增删除方法
    boolean deleteScheduling(Integer id);
}



